package com.boot.mall.seckill.feign;

import com.boot.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient("mall-product")
public interface ProductFeignService {

    /**
     * 根据sku的ids查询sku的商品基本信息
     * @return
     */
    @GetMapping("/product/skuinfo/info/skIds")
    Map<String, Object> getSkuInfoBySkuIds(@RequestParam List<String> ids);

}
